﻿@using Abp.Collections.Extensions
@using Abp.Extensions
@using Mt.Site.Core.Web.Rewriters

@model Abp.Web.Mvc.Models.ErrorViewModel
@{
    var staticPageFeature = ViewContext.HttpContext.Features.Get<IStaticPageFeature>();
    if (staticPageFeature != null)
    {
        staticPageFeature.Disable = true;
    }
    ViewBag.kind = 0;
    ViewBag.DefaultTitle = "500";
    ViewBag.DisableTenantChange = true;

    var errorMessage = Model.ErrorInfo.Message;
    var errorDetails = Model.ErrorInfo.Details;
    if (errorDetails.IsNullOrEmpty())
    {
        errorDetails = errorMessage;
        errorMessage = L("Error");
    }
    Layout = "~/Views/Layout/_Layout.cshtml";
}
<div class="row tik1">
    <div class="col-md-12 page-404">
        <div class="details">
            <img src="/content/defaultImg/404.png" alt="" />
            <div class="row title">
                <h3>@L("OopsYouAreLost")</h3>
            </div>
            <div class="row doc" style="display:none">
                @Html.Raw(L("WeCanNotFindThePage"))
            </div>
            <div class="tool">
                <a href='@Url.Action("Index", "Home")' class="link go-home">@L("HomePage")</a>
            </div>
        </div>
    </div>
</div>
